<?php

namespace IDock\Insurance\JDAL\Response;

use IDock\Http\Response;

class VehicleInsureQueryResponse extends AllJDALResponse
{
    //纠正行业车型编码
    public $modelCode;

    //纠正车型唯一ID
    public $vehicleStyleUniqueId;

    public function printerInit(): Response
    {
        $basePart = $this->get('basePart',[]);

        $this->modelCode = $basePart['modelCode'] ?? '';

        $this->vehicleStyleUniqueId = $basePart['vehicleStyleuniQueid'] ?? $basePart['vehicleStyleuniqueid']  ?? '';

        return $this;
    }
}
